package com.piggy.im.server.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import com.baomidou.mybatisplus.annotation.*;
import org.springframework.format.annotation.DateTimeFormat;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;


/**
 * 站内已读未读标记对象 sys_station_message_mark
 *
 * @author piggy
 * @date 2023-12-06
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName("sys_station_message_mark")
public class SysStationMessageMark implements Serializable {

    private static final long serialVersionUID=1L;

    /** ID */
    @ApiModelProperty("ID")
    @TableId(value = "id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /** 消息ID */
    @ApiModelProperty("消息ID")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long messageId;

    /** 状态（0=未读 1=已读） */
    @ApiModelProperty("状态（0=未读 1=已读）")
    private Integer mark;

    /** 读取用户id */
    @ApiModelProperty("读取用户id")
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long userId;

    /** 业务系统 boss logi * */
    @ApiModelProperty("业务系统 boss logi *")
    private String bizSys;

}
